home *** CD-ROM | disk | FTP | other *** search
- ;▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
- ;
- ;Full Screen Wobble Effect
- ;
- ;▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
-
- .386p
- .model flat, c
- locals
- .code
-
- extrn sintx :dword
- extrn texturebuff :dword
- extrn screenbuff :dword
-
- public dixymainloop
-
- dixymainloop: pushad
- mov ecx,screenbuff
- mov ebp,texturebuff
- mov edi,10
- loop0: mov esi,10
- loop1: mov eax,edi
- mov ebx,sintx[eax*4]
- add ebx,edi
- mov eax,esi
- mov edx,sintx[eax*4]
- add edx,esi
- mov eax,ebx
- shl eax,6
- shl ebx,8
- add eax,ebx
- add eax,edx
- mov bx,[ebp+eax]
- mov eax,edi
- mov edx,eax
- shl eax,6
- shl edx,8
- add eax,esi
- add eax,edx
- mov [ecx+eax],bx
- inc esi
- inc esi
- cmp esi,310
- jb loop1
- inc edi
- cmp edi,190
- jb loop0
- popad
- ret
-
- end
-